var fooExports = require('./foo');

console.log(fooExports);
// console.log(fooExports.add(10, 20));